package cn.jeeweb.modules.web.labor.mapper;

import cn.jeeweb.modules.web.labor.content.SelectTreeContent;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import cn.jeeweb.modules.web.labor.entity.HuTrainNotice;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**   
 * @Title: hu_train_notice数据库控制层接口
 * @Description: hu_train_notice数据库控制层接口
 * @author &Iacute;&otilde;&acute;&aelig;&frac14;&ucirc;
 * @date 2018-02-07 10:15:33
 * @version V1.0   
 *
 */
public interface HuTrainNoticeMapper extends BaseMapper<HuTrainNotice> {

    List<SelectTreeContent> selectTree(@Param("id") String id);

    /**
     * 培训通知下发按月统计
     * @return
     */
    List<Map<String, Object>>selectCountByCreateDate();
}